package org.meerkat.forum.client.maintree;

import com.extjs.gxt.ui.client.store.TreeStore;

public class MainTreeStore extends TreeStore<MainTreeNode> {

	public static MainTreeStore getMainTree() {
		MainTreeStore treeStore = new MainTreeStore();

		MainTreeNode inbox = new MainTreeNode("inbox");
		treeStore.add(inbox, false);
		treeStore.add(new MainTreeNode("starred"), false);
		treeStore.add(new MainTreeNode("spam"), false);

		return treeStore;
	}
}
